package controller.Items;

import javafx.beans.property.SimpleStringProperty;

public class course {
    private final SimpleStringProperty Cid;
    private final SimpleStringProperty Cname;
    private final SimpleStringProperty Tid;
    private final SimpleStringProperty Ctime;
    private final SimpleStringProperty Classroom;
    public course(String cid,String n,String tid,String ctime,String clasr){
        Cid= new SimpleStringProperty(cid);
        Cname=new SimpleStringProperty(n);
        Tid=new SimpleStringProperty(tid);
        Ctime=new SimpleStringProperty(ctime);
        Classroom=new SimpleStringProperty(clasr);
    }


    public String getCid() {
        return Cid.get();
    }

    public SimpleStringProperty cidProperty() {
        return Cid;
    }

    public void setCid(String cid) {
        this.Cid.set(cid);
    }

    public String getCname() {
        return Cname.get();
    }

    public SimpleStringProperty cnameProperty() {
        return Cname;
    }

    public void setCname(String cname) {
        this.Cname.set(cname);
    }

    public String getTid() {
        return Tid.get();
    }

    public SimpleStringProperty tidProperty() {
        return Tid;
    }

    public void setTid(String tid) {
        this.Tid.set(tid);
    }

    public String getCtime() {
        return Ctime.get();
    }

    public SimpleStringProperty ctimeProperty() {
        return Ctime;
    }

    public void setCtime(String ctime) {
        this.Ctime.set(ctime);
    }

    public String getClassroom() {
        return Classroom.get();
    }

    public SimpleStringProperty classroomProperty() {
        return Classroom;
    }

    public void setClassroom(String classroom) {
        this.Classroom.set(classroom);
    }
}
